﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace HRM.BLL
{
    public class Login
    {
        HRM.DLL.Login objLogin;
        public Login()
        {
            objLogin = new HRM.DLL.Login();
        }
        public DataTable IsAuthentic(String strLoginName, String strPassword)
        {
            return objLogin.IsAuthentic(strLoginName, strPassword);
        }
        public DataTable GetAllLogins()
        {
            return objLogin.GetAllLogins();
        }
        public DataTable SelectByID(int LoginID)
        {
            return objLogin.SelectByID(LoginID);
        }
        public int Save(BO.Users objUser)
        {
            return objLogin.Save(objUser);
        }
        public int Delete(int LoginID)
        {
            return objLogin.Delete(LoginID);
        }
    }
}
